package service

import (
	"boy-go/modules/system/model"
	"boy-go/modules/system/vo"
)

type SysPermissionService interface {
	GetRolePermission(sysUser model.SysUser) []*string          //获取角色数据权限
	GetMenuPermission(sysUser model.SysUser) []*string          //获取菜单数据权限
	GetMenuPermissionMap(user *vo.SysUserModel) map[string]bool //获取菜单数据权限
	GetRolePermissionByUserId(userId int64) []*string
	GetMenuPermissionByUserId(userId int64) []*string
}
